<script type='text/javascript'>
    var i;
    var j;
    i = 5;
    j = (++i)+(++i)+(++i);
    i = 5;
    document.write("If j = (++i)+(++i)+(++i), the result of j is "+j + "<br>" );
    i = 5;
    j = (i++)+(i++)+(i++);
    document.write("If j = (i++)+(i++)+(i++), the result of j is "+j);
</script> 